<template>
  <nav>
    <router-link to="/">小黑记事本</router-link> |
    <router-link to="/about">手机品牌管理</router-link> |
    <router-link to="/music">音乐播放器</router-link>
  </nav>
  <router-view/>
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #c3d7eb;
}
body {
    // background-color: #42b983;
    background-image: linear-gradient(to right,rgb(103, 17, 216),rgb(145, 19, 218),rgb(228, 17, 228));
}
nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>

